<include file="Admin/Public/Header" />
<style type="text/css">
    .layui-layer-tips{width:auto !important;}
</style>
<script src="__ADMIN__/js/common.js" type="text/javascript"></script>
<script src="__PUBLIC__/Layer/layer.js" type="text/javascript"></script>
<script src="__PUBLIC__/DatePicker/DatePicker.js" type="text/javascript"></script>
<link href="__PUBLIC__/DatePicker/Css/DatePicker.css" type="text/css" rel="stylesheet" />
<table width="100%" height="31px" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
    <tr>
        <td height="31"><div class="titlebt">资金明细查询</div></td>
    </tr>
</table>

<div class="main">
    <div class="operate">
        <div class="left_pad">
            <form id="search" method="post" action="{:U('Admin/Finance/TradingRecords')}">
                <label>交易时间：<input type="text" class="inp_default" style="width:180px; text-align: center;" name="date" id="datePicker" readonly /></label>

                <input type="text" name="keyword" title="关键字" class="inp_default" value="{$keyword}" placeholder="请输入流水号/交易主体用户名"><input type="submit" class="btn_blue" value="查  询" style="float: right;">
                <input type="hidden" name="cid" id="cid"/>
                <script type="text/javascript">
                    var dateRange1 = new pickerDateRange('datePicker', {
                                isTodayValid: true,
                                aToday: 'aTodayDemo1', //今天
                                aRecent30Days: 'aRecent30DaysDemo1', //最近30天
                                aRecent90Days: 'aRecent90DaysDemo1', //最近90天
                                aRecent1Year: 'aRecent1YearDemo1',//最近1年
                                startDate: '{$startDate}',
                                endDate: '{$endDate}',
                                needCompare: false,
                                target: 'searchForm',
                                defaultText: ' ~ ',
                                autoSubmit: true,
                                inputTrigger: 'datePicker',
                                theme: 'ta',
                                magicSelect: false,
                    });
                </script>
            </form>
        </div>
    </div>
    <div class="list">



            <table width="100%">
                <tr>
                    <!--<th><input  name="chkall" type="checkbox" id="chkall" onClick="selectall(this.form)"></th>-->
                    <th>交易流水号</th>
                    <th>支付宝流水</th>
                    <th>交易日期</th>
                    <th>交易金额</th>
                    <th>交易主体</th>
                    <th>交易客体</th>
	                <th>交易说明</th>
                </tr>

                <empty name="list">
                    <tr>
                        <td colspan="9">本区域暂无数据显示...</td>
                    </tr>
                    <else />
                    <volist name='list' id='v'>
                        <tr>
                            <td>{$v.order_sn}</td>
                            <td>{$v.log_paysn}</td>
                            <td>{$v.log_time|date="Y-m-d H:i:s",###}</td>
                            <td>{$v.log_amount}</td>
                            <td>{$v.master_name|replacement=###, $v['master_mobile']}</td>
                            <td>{$v.slave_name|replacement=###, $v['slave_mobile']}</td>
	                        <td>{$v.log_remark}</td>
                        </tr>
                    </volist>
                </empty>


            </table>
    </div>

    <div class="page">
        {$page}
    </div>

</div>
<include file="Public/Copyright" />
</body>
</html>
